<template>
  <div class="layout">
    <el-container>
      <el-header>Header</el-header>
      <el-container>
        <el-aside width="200px">
            <Vside></Vside>
        </el-aside>
        <el-main>
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
import Vside from '../components/Vside.vue'
export default {
    components: {
        Vside
    }
};
</script>

<style>
.el-header {
  background-color: #b3c0d1;
  color: #333;
  text-align: center;
  line-height: 60px;
}

.el-aside {
  background-color: #d3dce6;
  color: #333;
  text-align: center;
  line-height: 20px;
}

.el-main {
  background-color: #e9eef3;
  color: #333;
  text-align: center;
  line-height: 160px;
}

.layout .el-container {
  height: 100vh;
}
</style>